<div class="td-patient-me-medical-record-family-history-modify">
    <div class="btn">
        <el-button size="mini" @click.native="$router.push({name:'tdPatientMeMedicalFamilyHistory'})">返回列表</el-button>
        <el-button size="mini" type="primary" @click.native="btnSubmit();">保存</el-button>
    </div>
    <mt-cell title="家族">
        <div class="mint-radio-group">
            <el-radio-group size="mini" v-model="params.FamilyType" @change="getFamilyType">
                <el-radio-button label="0">男方家族</el-radio-button>
                <el-radio-button label="1">女方家族</el-radio-button>
            </el-radio-group>
        </div>
    </mt-cell>
    <mt-cell title="关系" is-link value="请选择" v-if="!params.Relation" @click.native="changeRelation"></mt-cell>
    <mt-cell title="胚胎" is-link :label="params.Relation" v-if="params.Relation" @click.native="changeRelation"></mt-cell>
    <div class="list-radio-check-box" v-show="showRelation">
        <mt-header>
            <mt-button slot="right" @click.native="showRelation=false">关闭</mt-button>
        </mt-header>
        <td-check-radio :options="RelationList" @changeEvent="getRelation"></td-check-radio>
    </div>
    <mt-cell title="病史" is-link value="请选择" v-if="!params.Medical" @click.native="changeMedical"></mt-cell>
    <mt-cell title="胚胎" is-link :label="params.Medical" v-if="params.Medical" @click.native="changeMedical"></mt-cell>
    <div class="list-radio-check-box" v-show="showMedical">
        <mt-header>
            <mt-button slot="right" @click.native="showMedical=false">关闭</mt-button>
        </mt-header>
        <td-check-radio :options="MedicalList" @changeEvent="getMedical"></td-check-radio>
    </div>
    <mt-field label="其它病种" placeholder="请输入其它病种" v-model="params.OtherMedical" v-if="params.Medical.split(',').includes('其它')"></mt-field>
    <mt-field label="备注" placeholder="请输入备注" v-model="params.Remark"></mt-field>

    <div class="btn">
        <el-button size="mini" @click.native="$router.push({name:'tdPatientMeMedicalFamilyHistory'})">返回列表</el-button>
        <el-button size="mini" type="primary" @click.native="btnSubmit();">保存</el-button>
    </div>
</div>